package com.ywu.container.standard.dto;

import com.ywu.common.dto.CommonDto;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @ClassName ServiceContainerDto
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/3/4 21:18
 * @Version 1.0
 **/
@Data
@ToString
public class ServiceContainerDto extends CommonDto {
    private Integer id;

    @NotBlank
    private String dockerName;

    private String dockerContainerId;

    @NotBlank
    private String dockerImageId;

    private Integer serviceId;

    private String dockerSourcePort;

    private String dockerDestPort;

    private String dockerGitPath;

    private String dockerSourceVolume;

    private String dockerDestVolume;

    private String dockerServiceAddress;

    private String dockerServicePort;

    private String dockerNetworkMode;

    private String dockerCmd;

    private String dockerCmdListStr;

    private String applicationName;

    private Long beginTimestamp;

    private Long endTimestamp;

    private Boolean gitCloneStatus;

    private Boolean mvnBuildStatus;

    private Boolean pushPackageStatus;

    private Boolean deployPackageStatus;

    private ContainerInfoDTO containerInfoDTO;

    private List<ContainerVolumeDto> volumeList;

    private List<ContainerCmdDto> cmdList;
}
